<div class="row m-n">
    <div class="crumbs-bar">
        <div yb-crumbs></div>
    </div>
    <div tabset type="tab">
        <div tab heading="盘点单" active="activeFlag[0]" ng-click="changeTab(0)">
            <div class="row wrapper-y-sm">
                <div class="operate-bar col-xs-4 font-0">
                    <button class="btn btn-operate m-r-sm" ng-click="addData()"
                            ng-disabled="!btnPermission.inventoryAdd" translate translate-attr-title="{{!btnPermission.inventoryAdd?'无权限执行此操作':''}}">新增</button>
                    <button class="btn btn-operate" ng-click="delData('batch')"
                            ng-disabled="!btnPermission.inventoryDel" translate translate-attr-title="{{!btnPermission.inventoryDel?'无权限执行此操作':''}}">删除</button>
                </div>
                <div class="search-bar wrapper-none col-xs-8">
                    <div class="btn-group m-l-xs pull-right">
                        <button type="button" class="btn btn-default base-color" ng-click="search()" translate translate-attr-title="刷新">
                            <i class="yb-icon ico-refresh"></i>
                        </button>
                        <button type="button" class="btn btn-default base-color" translate translate-attr-title="配置表格列"
                                ng-click="switchToolbar('ColConfig');">
                            <i class="yb-icon ico-set"></i>
                        </button>
                        <div class="btn btn-default base-color">
                            <div translate translate-attr-title="导出全部"
                                yb-download download-url="exportParam.allUrl" download-param="condition" download-duration="3" is-ajax="true">
                                <i class="yb-icon ico-export-o"></i>
                            </div>
                        </div>
                    </div>
                    <button class="btn-advance pull-right m-l-xs" ng-click="switchToolbar('AdvanceSearch')" translate-attr-title="高级搜索" translate="高级搜索more"></button>
                    <div class="input-group pull-right clearfix">
                        <input type="text" class="form-control txt-search" translate translate-attr-placeholder="盘点单号" ng-model="condition.checkOrderNo">
                        <span class="input-group-addon cursor-pointer" ng-click="search(1)" translate>搜索</span>
                    </div>
                </div>
            </div>
            <div yb-advance-search show-toolbar="toolbarConfig.showAdvanceSearch" search-data="search(1)" reset-data="reset()">
                <div class="advance-search m-t-sm">
                    <div class="form-group clearfix">
                        <label class="control-label"><span translate>盘点单号</span>：</label>
                        <input type="text" name="name" class="form-control col-xs-8" ng-model="condition.checkOrderNo">
                    </div>
                    <div class="form-group clearfix">
                        <label class="control-label"><span translate>创建人</span>：</label>
                        <input type="text" name="mobile" class="form-control" ng-model="condition.createName">
                    </div>
                    <div class="form-group clearfix">
                        <label class="control-label"><span translate>状态</span>：</label>
                        <select class="form-control" ng-model="condition.status" ng-options="item.id as (item.name | translate) for item in checkStatues">
                            <option value="" translate>请选择</option>
                        </select>
                    </div>
                    <div class="form-group clearfix m-b-none">
                        <label class="control-label"><span translate>制单时间</span>：</label>
                        <input type="text" class="form-control date-picker" ng-model="condition.startDate"
                               datepicker-popup="{{'yyyy-MM-dd'}}" ng-click="showDatepickerBegin = !showDatepickerBegin"
                               ng-change="checkDate(condition, 'startDate', 'endDate')"
                               is-open="showDatepickerBegin" close-text="关闭" modal-size="small" readonly>
                    </div>
                    <div class="form-group clearfix m-b-none">
                        <label class="control-label"></label>
                        <label class="control-label wave-line">~</label>
                    </div>
                    <div class="form-group clearfix">
                        <label class="control-label"></label>
                        <input type="text" class="form-control date-picker" ng-model="condition.endDate"
                               datepicker-popup="{{'yyyy-MM-dd'}}" ng-click="showDatepickerEnd = !showDatepickerEnd"
                               ng-change="checkDate(condition, 'startDate', 'endDate')"
                               is-open="showDatepickerEnd" close-text="关闭" modal-size="small" readonly>
                    </div>
                    <div class="form-group clearfix">
                        <label class="control-label"><span translate>仓库编码</span>：</label>
                        <input type="text" name="mobile" class="form-control" ng-model="condition.warehouseCode">
                    </div>
                </div>
            </div>
            <div yb-col-config show-toolbar="toolbarConfig.showColConfig" ng-model="tableConfig" col-fixed="true"
                 has-check-col="true" set-tb-style="setFixedWidth()"></div>
            <div class="main-area">
                <div yb-table-fixed class="table-fixed-wrap fix-left" ele-count="4" scroll-area="right">
                    <div class="th-fixed">
                        <table class="table-fixed border-none" width="{{tableConfig.fixedWidth}}">
                            <thead>
                            <tr>
                                <th width="40" class="text-center th-check border-l-none">
                                    <div yb-check-box yb-checked="markInfo.allChecked" yb-click="selectAll()"></div>
                                </th>
                                <th ng-repeat="itemCol in tableConfig.tableCol track by $index" width="{{itemCol.width}}" ng-show="!!itemCol.isShow && !!itemCol.isFixed">
                                    <div yb-thead-operate ng-model="itemCol" target-width="tableConfig.fixedWidth" fixed-width="tbStyle.scrollLeft"></div>
                                </th>
                            </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="th-scroll-x" ng-style="tbStyle.scrollLeft">
                        <table class="table-fixed border-none" width="{{tableConfig.scrollWidth}}">
                            <thead>
                            <tr>
                                <th ng-repeat="itemCol in tableConfig.tableCol track by $index" width="{{itemCol.width}}" ng-show="!!itemCol.isShow && !itemCol.isFixed">
                                    <div yb-thead-operate ng-model="itemCol" target-width="tableConfig.scrollWidth"></div>
                                </th>
                            </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="td-scroll-y" ng-show="dataList.length > 0">
                        <table class="table-fixed border-none" width="{{tableConfig.fixedWidth}}">
                            <tbody>
                            <tr ng-repeat="item in dataList track by $index" ng-class="{'row-selected': $index === markInfo.cueRow}"
                                ng-click="selectRow($index)">
                                <td width="40" class="text-center border-l-none">
                                    <div yb-check-box yb-checked="item.isChecked" yb-click="selectSingle(item)"></div>
                                </td>
                                <td class="spill-dots" ng-repeat="itemCol in tableConfig.tableCol track by $index" width="{{itemCol.width}}"
                                    ng-show="!!itemCol.isShow && !!itemCol.isFixed" title="{{item[itemCol.dataField]}}">
                                    <span ng-if="!itemCol.clickFn&& itemCol.type !== 'operate'">{{item[itemCol.dataField]}}</span>
                                    <span ng-if="!!itemCol.clickFn">
                                            <a ng-if="itemCol.type !== 'attach'" class="btn-operate m-r-xs" ng-click="tdClick(item, itemCol.clickFn)">
                                                {{item[itemCol.dataField]}}
                                            </a>
                                            <a ng-if="itemCol.type === 'attach' && !!item[itemCol.dataField]" class="btn-operate m-r-xs" ng-click="tdClick(item, itemCol.clickFn)">
                                                查看附件
                                            </a>
                                     </span>

                                    <div class="font-0" ng-if="itemCol.type === 'operate'">
                                        <button type="button" class="btn btn-operate m-r-xs" ng-click="printBill(item)"
                                                ng-disabled="!btnPermission.inventoryPrint" translate translate-attr-title="{{!btnPermission.inventoryPrint?'无权限执行此操作':''}}">打印</button>
                                        <button class="btn btn-operate m-r-xs" ng-click="start(item)"
                                                ng-disabled="(item.status !== 0 || item.status == 2) || !btnPermission.inventoryOpen" translate translate-attr-title="{{!btnPermission.inventoryOpen?'无权限执行此操作':''}}">启动</button>
                                        <button class="btn btn-operate m-r-xs" ng-click="stop(item)"
                                                ng-disabled="(item.status === 0 || item.status == 2) || !btnPermission.inventoryClose" translate translate-attr-title="{{!btnPermission.inventoryClose?'无权限执行此操作':''}}">关闭</button>
                                        <button class="btn btn-operate m-r-xs" ng-click="delData('single', item.id)"
                                                ng-disabled="item.status == 1 || item.status == 2 || !btnPermission.inventoryDel" translate translate-attr-title="{{!btnPermission.inventoryDel?'无权限执行此操作':''}}">删除</button>
                                        <button class="btn btn-operate m-r-xs" ng-click="termination(item.id)"
                                                ng-disabled="item.status != 1 ||!btnPermission.inventoryTermination" title="{{!btnPermission.inventoryTermination?'无权限执行此操作':''}}">终止</button>

                                        <button type="button" class="btn btn-operate m-r-xs"
                                                ng-disabled="!btnPermission.inventoryImportAttach "
                                                ng-click="importAttach(item)"
                                                translate translate-attr-title="{{!btnPermission.inventoryImportAttach?'无权限执行此操作':''}}">上传附件</button>
                                    </div>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="td-scroll" ng-show="dataList.length > 0" ng-style="tbStyle.scrollLeft">
                        <table class="table-fixed border-none" width="{{tableConfig.scrollWidth}}">
                            <tbody>
                            <tr ng-repeat="item in dataList track by $index" ng-class="{'row-selected': $index === markInfo.cueRow}"
                                ng-click="selectRow($index)">
                                <td class="spill-dots" ng-repeat="itemCol in tableConfig.tableCol track by $index"
                                    width="{{itemCol.width}}" ng-show="!!itemCol.isShow && !itemCol.isFixed"
                                    title="{{item[itemCol.dataField]}}">
                                    <span ng-if="!itemCol.clickFn&& itemCol.type !== 'operate'">{{item[itemCol.dataField]}}</span>
                                    <span ng-if="!!itemCol.clickFn">
                                        <a ng-if="itemCol.type !== 'attach'" class="btn-operate m-r-xs" ng-click="tdClick(item, itemCol.clickFn)">
                                            {{item[itemCol.dataField]}}
                                        </a>
                                        <a ng-if="itemCol.type === 'attach' && !!item[itemCol.dataField]" class="btn-operate m-r-xs" ng-click="tdClick(item, itemCol.clickFn)">
                                            查看附件
                                        </a>
                                    </span>
                                    <div class="font-0" ng-if="itemCol.type === 'operate'">
                                        <button type="button" class="btn btn-operate m-r-xs" ng-click="printBill(item)"
                                                ng-disabled="!btnPermission.inventoryPrint" title="{{!btnPermission.inventoryPrint?'无权限执行此操作':''}}">打印</button>
                                        <button class="btn btn-operate m-r-xs" ng-click="start(item)"
                                                ng-disabled="(item.status !== 0 || item.status == 2) || !btnPermission.inventoryOpen" title="{{!btnPermission.inventoryOpen?'无权限执行此操作':''}}">启动</button>
                                        <button class="btn btn-operate m-r-xs" ng-click="stop(item)"
                                                ng-disabled="(item.status === 0 || item.status == 2) || !btnPermission.inventoryClose" title="{{!btnPermission.inventoryClose?'无权限执行此操作':''}}">关闭</button>
                                        <button class="btn btn-operate m-r-xs" ng-click="delData('single', item.id)"
                                                ng-disabled="item.status == 1 || item.status == 2 || !btnPermission.inventoryDel" title="{{!btnPermission.inventoryDel?'无权限执行此操作':''}}">删除</button>
                                    </div>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="no-data w-full text-center p-t" ng-show="dataList.length === 0" translate>暂时没有数据</div>
                </div>
            </div>
            <div class="bottom-area page-bar wrapper-y-sm clearfix">
                <div yb-check-box class="m-t-xs m-r-sm" yb-checked="markInfo.allChecked" yb-check-name="全选" yb-click="selectAll()"></div>
                <button class="btn btn-operate" ng-click="delData('batch')"
                        ng-disabled="!btnPermission.inventoryDel" translate translate-attr-title="{{!btnPermission.inventoryDel?'无权限执行此操作':''}}">删除</button>
                <div yb-page-info ng-model="pageInfo" yb-refresh="search()"></div>
            </div>
        </div>
        <div tab heading="{{tabFlag.name}}" active="activeFlag[1]" ng-if="activeFlag[1]">
            <form name="form" class="m-t-sm form-horizontal form-up-tb border-b clearfix" novalidate>
                <div class="form-group col-xs-12 m-b-none">
                    <label class="col-xs-2 control-label max-w-100"><span translate>盘点类型</span>：</label>
                    <div class="col-xs-8 p-t-xs">
                        <input type="radio" class="m-r-md pull-left" yb-radio ng-model="detailInfo.checkType" delay-set-val="true"
                               yb-click="changeType(0)" value="0" yb-radio-name="根据仓库">
                        <input type="radio" class="m-r-md pull-left" yb-radio ng-model="detailInfo.checkType" delay-set-val="true"
                               yb-click="changeType(1)" value="1" yb-radio-name="根据保管员">
                        <input type="radio" class="m-r-md pull-left" yb-radio ng-model="detailInfo.checkType" delay-set-val="true"
                               yb-click="changeType(2)" value="2" yb-radio-name="根据库区">
                        <input type="radio" class="m-r-md pull-left" yb-radio ng-model="detailInfo.checkType" delay-set-val="true"
                               yb-click="changeType(3)" value="3" yb-radio-name="根据零件">
                        <input type="radio" class="m-r-md pull-left" yb-radio ng-model="detailInfo.checkType" delay-set-val="true"
                               yb-click="changeType(4)" value="4" yb-radio-name="根据仓库类型">
                        <input type="radio" class="m-r-md pull-left" yb-radio ng-model="detailInfo.checkType" delay-set-val="true" ng-if="isJCH"
                               yb-click="changeType(5)" value="5" yb-radio-name="根据产品组">
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm" ng-if="detailInfo.checkType != 4 && detailInfo.checkType != 5">
                    <label class="col-xs-4 control-label max-w-100"><i>*</i><span translate>仓库</span>：</label>
                    <div class="col-xs-8 wrapper-none">
                        <div yb-form-clear name="warehouseCode" ng-model="detailInfo.warehouseCode" select-obj="selectWarehouse()"
                             clear-form="clearWarehouse()" tips-name="仓库" form-require="true"></div>
                        <div class="msg-block" ng-show="form.warehouseCode.$dirty || (form.warehouseCode.$invalid && submitted)">
                            <div class="error-msg" ng-if="form.warehouseCode.$error.required && !form.warehouseCode.focused">
                                <div class="msg-triangle"></div>
                                <span translate>必填项，请填写</span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm" ng-if="detailInfo.checkType == 1">
                    <label class="col-xs-4 control-label max-w-100"><i>*</i><span translate>保管员</span>：</label>
                    <div class="col-xs-8 wrapper-none">
                        <div keeper-selector class="dropdown-prop" ng-model="dataSelected.keeper"></div>

                        <div class="msg-block" ng-show="submitted && !dataSelected.keeper.name">
                            <div class="error-msg">
                                <div class="msg-triangle"></div>
                                <span translate>请选择保管员</span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm" ng-if="detailInfo.checkType == 2">
                    <label class="col-xs-4 control-label max-w-100"><i>*</i><span translate>选择库区</span>：</label>
                    <div class="col-xs-8 wrapper-none">
                        <div location-selector class="dropdown-prop" ng-model="dataSelected.location"></div>

                        <div class="msg-block" ng-show="submitted && !dataSelected.location.name">
                            <div class="error-msg">
                                <div class="msg-triangle"></div>
                                <span translate>请选择库区</span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm" ng-if="detailInfo.checkType == 2">
                    <label class="col-xs-4 control-label max-w-100"><span translate>储位号</span>：</label>
                    <div class="col-xs-8 wrapper-none">
                        <input type="text" class="form-control" ng-model="dataSelected.locationCode"
                               yb-focus maxlength="20">
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm" ng-if="detailInfo.checkType == 2">
                    <label class="col-xs-4 control-label max-w-100"><span translate>货架编号</span>：</label>
                    <div class="col-xs-8 wrapper-none">
                        <input type="text" name="shlefNo" class="form-control" ng-model="detailInfo.shlefNo"
                               yb-focus maxlength="20">
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm" ng-if="detailInfo.checkType == 4">
                    <label class="col-xs-4 control-label max-w-100"><i>*</i><span translate>仓库类型</span>：</label>
                    <div class="col-xs-8 wrapper-none">
                        <select name="" id="" class="form-control" ng-model="detailInfo.warehouseType"
                            ng-options="item.code as item.name for item in warehouseTypeList">
                            <option value="">请选择仓库类型</option>
                        </select>
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm" ng-if="detailInfo.checkType == 5">
                    <label class="col-xs-4 control-label max-w-100"><i>*</i><span translate>产品组</span>：</label>
                    <div class="col-xs-8 wrapper-none">
                        <select class="form-control" ng-model="sel.productGroupObj" name="productGroup" required
                            ng-options="item as item.name for item in productGroupNoList">
                            <option value="" translate>请选择</option>
                        </select>
                        <div class="msg-block" ng-show="form.productGroup.$dirty || (form.productGroup.$invalid && submitted)">
                            <div class="error-msg" ng-if="form.productGroup.$error.required && !form.productGroup.focused">
                                <div class="msg-triangle"></div>
                                <span translate>必填项，请填写</span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 control-label max-w-100"><i>*</i><span translate>盘点描述</span>：</label>
                    <div class="col-xs-8 wrapper-none">
                        <input type="text" name="checkOrderDes" class="form-control" ng-model="detailInfo.checkOrderDes"
                               required yb-focus maxlength="20">
                        <div class="msg-block" ng-show="form.checkOrderDes.$dirty || (form.checkOrderDes.$invalid && submitted)">
                            <div class="error-msg" ng-if="form.checkOrderDes.$error.required && !form.checkOrderDes.focused">
                                <div class="msg-triangle"></div>
                                <span translate>必填项，请填写</span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 control-label max-w-100"><i>*</i><span translate>计划盘点日期</span>：</label>
                    <div class="col-xs-8 wrapper-none">
                        <input type="text" name="plannedDate" class="form-control date-picker" ng-model="detailInfo.plannedDate"
                               datepicker-popup="{{'yyyy-MM-dd'}}" ng-click="showDatepicker = !showDatepicker"
                               is-open="showDatepicker" close-text="关闭" readonly required>
                        <div class="msg-block" ng-show="form.plannedDate.$dirty || (form.plannedDate.$invalid && submitted)">
                            <div class="error-msg" ng-if="form.plannedDate.$error.required && !form.plannedDate.focused">
                                <div class="msg-triangle"></div>
                                <span translate>必填项，请填写</span>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
            <div class="row wrapper-y-xs">
                <div class="col-xs-12 operate-bar font-0">
                    <button class="btn btn-operate m-r-sm" ng-disabled="detailInfo.checkType != 3" ng-click="selMateriel($event)" translate>选择零件</button>
                </div>
            </div>
            <div materiel-selector show-toolbar="toolbarConfig.showMateriel" selected-list="detailInfo.inventoryCheckDetailVOS"
                 is-inventory="true" warehouse-code="detailInfo.warehouseCode"></div>
            <div class="main-area" ng-style="{'top':detailInfo.checkType === 2 ? '210px' : '165px'}"
                 style="bottom: 110px;" ng-class="{'d-b-60': detailInfo.checkType === 3}">
                <div yb-table-fixed class="table-fixed-wrap">
                    <div class="th-scroll-x" ng-if="detailInfo.checkType != 4">
                        <table class="table-fixed border-none" width="{{materielTableConfig.scrollWidth}}">
                            <thead>
                            <tr>
                                <th ng-repeat="itemCol in materielTableConfig.tableCol track by $index" width="{{itemCol.width}}" ng-show="!!itemCol.isShow">
                                    <div yb-thead-operate ng-model="itemCol"></div>
                                </th>
                            </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="th-scroll-x" ng-if="detailInfo.checkType == 4">
                        <table class="table-fixed border-none" width="{{materielTableConfigTwo.scrollWidth}}">
                            <thead>
                            <tr>
                                <th ng-repeat="itemCol in materielTableConfigTwo.tableCol track by $index" width="{{itemCol.width}}" ng-if="detailInfo.checkType == 4">
                                    <div yb-thead-operate ng-model="itemCol"></div>
                                </th>
                            </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="td-scroll" ng-if="detailInfo.inventoryCheckDetailVOS.length > 0 && detailInfo.checkType != 4">
                        <table class="table-fixed border-none" width="{{materielTableConfig.scrollWidth}}">
                            <tbody>
                            <tr ng-repeat="item in detailInfo.inventoryCheckDetailVOS track by $index">
                                <td ng-repeat="itemCol in materielTableConfig.tableCol track by $index" ng-show="!!itemCol.isShow"
                                    class="spill-dots" title="{{item[itemCol.dataField]}}" width="{{itemCol.width}}">
                                    {{item[itemCol.dataField]}}
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="td-scroll" ng-if="detailInfo.inventoryCheckDetailVOS.length > 0 && detailInfo.checkType == 4">
                        <table class="table-fixed border-none" width="{{materielTableConfigTwo.scrollWidth}}">
                            <tbody>
                            <tr ng-repeat="item in detailInfo.inventoryCheckDetailVOS track by $index">
                                <td ng-repeat="itemCol in materielTableConfigTwo.tableCol track by $index"
                                    class="spill-dots" title="{{item[itemCol.dataField]}}" width="{{itemCol.width}}">
                                    {{item[itemCol.dataField]}}
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="no-data w-full text-center p-t" ng-show="detailInfo.inventoryCheckDetailVOS.length === 0" translate>暂时没有数据</div>
                </div>
            </div>
            <div class="bottom-area page-bar wrapper-y-sm border-b clearfix" style="bottom: 60px;" ng-if="detailInfo.checkType != 3">
                <div yb-page-info ng-model="materialPageInfo" yb-refresh="preview()"></div>
            </div>
            <div class="bottom-area btn-bar text-center clearfix">
                <button type="button" class="btn btn-primary m-r-sm" ng-click="preview()" ng-disabled="detailInfo.checkType == 3" translate>预览</button>
                <button type="button" class="btn btn-primary m-r-sm" ng-click="saveData(form.$valid)" translate>保存</button>
                <button type="button" class="btn btn-default" ng-click="changeTab(0)" translate>取消</button>
            </div>
        </div>
        <div tab heading="详情" active="activeFlag[2]" ng-if="activeFlag[2]">
            <form name="form" class="m-t-sm form-horizontal form-up-tb border-b clearfix" novalidate>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>盘点单号</span>：</label>
                    <div class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.checkOrderNo}}
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>仓库</span>：</label>
                    <div class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.warehouseCode}}
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>仓库描述</span>：</label>
                    <div class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.warehouseDes}}
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>库区</span>：</label>
                    <div class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.locationCodesStr||'-'}}
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>货架编号</span>：</label>
                    <div class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.shlefNo||'-'}}
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>盘点类型</span>：</label>
                    <div class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.checkType|ProgressStatus:"checkType"}}
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>保管员</span>：</label>
                    <div class="col-xs-8 wrapper-none spill-dots">
                        {{'-'}}
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>盘点状态</span>：</label>
                    <div class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.status|inventoryCheck}}
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>创建人</span>：</label>
                    <div class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.createName}}
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>制单时间</span>：</label>
                    <div class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.createDate|YbDate:'yyyy-MM-dd HH:mm:ss'}}
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>启动人</span>：</label>
                    <div class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.startName||'-'}}
                    </div>
                </div>
                <!--<div class="form-group col-xs-3 m-b-sm">-->
                    <!--<label class="col-xs-4 m-b-n text-right max-w-100">储位：</label>-->
                    <!--<div class="col-xs-8 wrapper-none spill-dots">-->
                        <!--{{detailInfo.areaCode||'-'}}-->
                    <!--</div>-->
                <!--</div>-->
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>盘点描述</span>：</label>
                    <div class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.checkOrderDes||'-'}}
                    </div>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>计划盘点日期</span>：</label>
                    <div class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.plannedDate|YbDate}}
                    </div>
                </div>
            </form>
            <div class="row wrapper-y-xs">
                <div class="col-xs-12 operate-bar flex">
                    <button class="btn btn-operate m-r-sm" ng-click="importInventoryAmount()" translate>导入盘点数量</button>
                </div>
            </div>
            <div class="main-area"  ng-style="{'top': isEN? '220px' : '185px'}">
                <div yb-table-fixed class="table-fixed-wrap">
                    <div class="th-scroll-x">
                        <table class="table-fixed border-none" width="{{materielDetailTableConfig.scrollWidth}}">
                            <thead>
                            <tr>
                                <th ng-repeat="itemCol in materielDetailTableConfig.tableCol track by $index" width="{{itemCol.width}}">
                                    <div yb-thead-operate ng-model="itemCol"></div>
                                </th>
                            </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="td-scroll" ng-show="detailInfo.detailList.length > 0">
                        <table class="table-fixed border-none" width="{{materielDetailTableConfig.scrollWidth}}">
                            <tbody>
                            <tr ng-repeat="item in detailInfo.detailList track by $index">
                                <td ng-repeat="itemCol in materielDetailTableConfig.tableCol track by $index" width="{{itemCol.width}}"
                                    class="spill-dots" title="{{item[itemCol.dataField]}}">
                                    {{item[itemCol.dataField]}}
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="no-data w-full text-center p-t" ng-show="detailInfo.detailList.length === 0" translate>暂时没有数据</div>
                </div>
            </div>
            <div class="bottom-area page-bar wrapper-y-sm clearfix" style="bottom: 60px;">
                <div yb-page-info ng-model="materialPageInfo" yb-refresh="detailSearch()"></div>
            </div>
            <div class="bottom-area btn-bar text-center border-t clearfix">
                <button type="button" class="btn btn-default" ng-click="changeTab(0)" translate>返回</button>
            </div>
        </div>
    </div>
</div>
